package com.cn.jinl.api;

import com.cn.jinl.domain.OnDutyReduce;
import com.cn.jinl.utils.QueryForm;

import java.util.List;
import java.util.Map;

public interface IOnDutyReduceService {

    List<OnDutyReduce> getOnDutyReduceList(QueryForm queryForm)throws Exception;

    List<OnDutyReduce> getOnDutyReduceDetailList(QueryForm queryForm)throws Exception;

    String addOnDutyReduce(OnDutyReduce onDutyReduce)throws Exception;

    String updateOnDutyReduce(OnDutyReduce onDutyReduce)throws Exception;

    String updateCheckOnDutyReduce(OnDutyReduce onDutyReduce)throws Exception;

    String deleteOnDutyReduce(String id)throws Exception;

    Map<String,Integer> getOnDutyReduceCount()throws Exception;
}
